package com.yingyi.user.domain;
import com.yingyi.basic.domain.BaseDomain;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * (Logininfo)实体类
 * 对应的表（t_logininfo）
 * @author Yingyi
 * @since 2022-07-27 22:31:25
 */
@Data 
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "(Logininfo)")
public class Logininfo extends BaseDomain{

    @ApiModelProperty(value = "")
    private String username;
    
    @ApiModelProperty(value = "")
    private String phone;
    
    @ApiModelProperty(value = "")
    private String email;
    
    @ApiModelProperty(value = "")
    private String salt;
    
    @ApiModelProperty(value = "")
    private String password;
    /**
    * 类型 - 0管理员，1用户
    */
    @ApiModelProperty(value = "类型 - 0管理员，1用户")
    private Integer type;
    /**
    * 启用状态：true可用，false禁用
    */
    @ApiModelProperty(value = "启用状态：false可用，true禁用")
    private Boolean disable = false;

}
